package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.modular.system.model.Rate;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-07
 */
public interface RateMapper extends BaseMapper<Rate> {

    /**
     * 查询费率
     * @param time
     * @return
     */

    Rate search( @Param("time")String time);

    /**
     * 查询最后一个不为空的费率
     * @return
     */
    Rate searchlast( );



}
